﻿<Window x:Class="Microsoft.Goldenlight.Diablo.AnimationViewer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Animation Viewer" Height="480" Width="640" WindowStartupLocation="CenterScreen" Loaded="HandleWindowLoaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="120" />
            <ColumnDefinition Width="120" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <ComboBox Name="bodyComboBox" Grid.Row="0" Grid.Column="0" SelectionChanged="HandleBodyComboBoxSelectionChanged" />
        <ListBox Name="animationsListBox" Grid.Row="1" Grid.Column="0" SelectionChanged="HandleAnimationsListBoxSelectionChanged" />
        <ListBox Name="animationFramesListBox" Grid.Row="1" Grid.Column="1" SelectionChanged="HandleAnimationFramesListBoxSelectionChanged" />
        <Canvas Name="animationCanvas" Background="CornflowerBlue" Width="320" Height="240"  Grid.Row="1" Grid.Column="2">
            <Image Name="animationImage" Stretch="None" Canvas.Left="0" Canvas.Top="0" />
        </Canvas>
    </Grid>
</Window>
